import { defineStore } from 'pinia'
import { ref } from 'vue'

const useChannelStore = defineStore('channel', () => {

  const channel_id = ref(0)

  const changeChannelId = (id: number) => {
    channel_id.value = id
  }

  return { channel_id, changeChannelId }
})

export { useChannelStore }